#导包
from rest_framework import serializers

from myapp.models import User,DingTalkUser,Course,Cate

class UserSer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = '__all__'


class CourseSer(serializers.ModelSerializer):
    class Meta:
        model = Course
        fields = '__all__'


class CateSer(serializers.ModelSerializer):
    class Meta:
        model = Cate
        fields = '__all__'



